package com.kmxd.ams.client.arrange.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.Builder;
import lombok.Data;

/**
 * 获取查询列表列
 *
 * @author ZuoLG
 */
@Schema(description = "获取查询列表列")
@Data
@Builder
public class ClumnsListVO implements Serializable {

  private static final long serialVersionUID = 1L;

  /** 名称 */
  @Schema(description = "名称")
  private String title;

  /** 查找字段 */
  @Schema(description = "查找字段")
  private String dataIndex;

  /** vxe table 版本参数 */
  @Schema(description = "vxeTable 版本参数")
  private String field;
  /** 固定-'left,right' */
  @Schema(description = "固定-'left,right'")
  private String fixed;
  /** 宽度 */
  @Schema(description = "宽度")
  private Integer width = 60;
  /** 是否支持排序 */
  @Schema(description = "是否支持排序")
  private Boolean sorter = true;
  @Schema(description = "对齐方式")
  private String align;
  /** 默认是否显示 */
  @Schema(description = "默认是否显示")
  private Boolean defaultHidden;
  @Schema(description = "列是否支持拖拽")
  private Boolean resizable = true;
  private String type;
  @Schema(description = "V2版本插槽对象")
  private Object slots;
  /** 是否支持排序V2 */
  @Schema(description = "是否支持排序V2")
  private Boolean sortable = true;
  public String getField() {
    return dataIndex;
  }
}
